<script setup>
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// 在vue3 CompositionAPI中
// 1.获取路由对象 router useRouter
//    const router = useRouter()
// 2.获取路由参数对象 route useRoute
//    const route = useRoute()
// import { useRoute, useRouter } from "vue-router"
// import { userUserStore, userCountStore } from "@/stores"

// const route = useRoute()
// const router = useRouter()
// const goList = () => {
//   router.push("/list")
//   console.log(router, route)
// }
// const userStore = userUserStore()
// const countStore = userCountStore()
</script>

<template>
  <div>
   <!-- App.vue只需要留一个路由出口 router-view -->
   <el-config-provider :locale="zhCn">
    <router-view></router-view>
   </el-config-provider>
   
  
  </div>
</template>

<style scoped></style>
